<%@ include file="includes/header.jsp"%>

<%@ page import="com.html2rss.models.Query" %>
<%@ page import="org.w3c.dom.Node" %>
<%@ page import="org.w3c.dom.Document" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="com.html2rss.core.parser.HTMLFeedExtracter" %>
<%@ page import="com.html2rss.ui.wizard.SaveFeedAction" %>

<jsp:useBean id="feeds" class="java.util.ArrayList" scope="request"/>
<h1>Step 3: Select apropriate feed:</h1>

  <%
      for (int i=0; i<feeds.size(); i++) {
         Object feed = feeds.get(i);
          %>
          <a href="<%=request.getContextPath()%>/wizard/savefeed.do?<%=SaveFeedAction.FEED_ID%>=<%=i%>" >Select this feed</a>
          <%
          out.print(feed);
      }
  %>

<%@ include file="includes/footer.jsp"%>